package com.qf.purchasing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.purchasing.entity.Post;
import com.qf.purchasing.vo.PostVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostMapper extends BaseMapper<Post> {
    //分页查询计划
    List<PostVO> selectPost(@Param("title") String title, @Param("year") String year);

    //根据id删除采购详情记录
    int updateStatusById(@Param("id") int id);

    //撤回删除
    int updateById(@Param("id") int id);
}